/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-10-23 15:33:48
 */
import axios from '@/api/fetch';
import * as types from './types';
import SERVER from '@/api/server';
//  查询新增潜客总数，意向级别，意向车系图表
export const queryNewPotentialCount = params => axios.get(`${SERVER.CYXDMS_CLUE}/clueReport/queryNewPotentialCount`, { params });
//  新增一个颜色
export const addColor = params => axios.post(`${SERVER.CYXDMS_CLUE}/vehicleProduct/colors`, params);
// 修改一个品牌
export const updateColor = (params, id) => axios.put(`${SERVER.CYXDMS_CLUE}/vehicleProduct/colors/${id}`, params);
// 获取顾问列表
export const getDirSalesName = params => axios.get(`${SERVER.SYSMANAGE}/basedata/employees/getDirSalesName`, { params });
// 获取销售顾问信息
export const getEmployeeInfo = params => axios.get(`${SERVER.CYXDMS_CLUE}/clue/employeeList`, { params });
// 获取销售小组
export const getOrgByOrgType = params => axios.get(`${SERVER.SYSMANAGE}/org/getOrgByOrgType?orgType=15061013`, { params });
